a = 10
a = a + 1
print(a)
b = 10
b += 1
print(b)
# a=10
# b=20
# a,b=b,a
# print(a)
# print(b)
# a = 10
# b = 20
#
# tmp = a
# a = b
# b = tmp
#
# print(a)
# print(b)
# a, b = 10, 20
# print(a)
# print(b)
# print(10 > 20 and 10 / 0 == 1)
# print(10 < 20 or 10 / 0 == 1)
# a=10
# b=20
# c=30
# print(a < b < c)
# print(a < b and b > c)
# print(a > b or b > c)
# print(a < b or b > c)
# print(not a < b)
# print(not a > b)


# a=0.1+0.2
# b=0.3
# print(-0.000001<(a-b)<0.000001)
# print(0.1)
# print(0.2)
# print(0.3)
# print(0.1 + 0.2)
# print(0.1 + 0.2 == 0.3)
# a = 'hello'
# b = 'world'
# print(a < b)
# print(a <= b)
# print(a > b)
# print(a >= b)
# print(a == b)
# print(a != b)
# a = 10
# b = 20
# print(a < b)
# print(a <= b)
# print(a > b)
# print(a >= b)
# print(a == b)
# print(a != b)

# print(7//2)
# print(-7//2)
# print(4**2)
# print(4**0.5)
# print(7 % 2)
# print(1/2)
# print(10/0)
# a = input('请输入第一个数字: ')
# b = input('请输入第二个数字: ')
# c = input('请输入第三个数字: ')
# d = input('请输入第四个数字: ')
#
# a = float(a)
# b = float(b)
# c = float(c)
# d = float(d)
#
# avg = (a + b + c + d) / 4
# print(f'平均值: {avg}')
# # a=input('请输入一个整数:')
# # b=input('请输入一个整数:')
# # a=float(a)
# # b=float(b)
# # print(f'a+b={a+b}')
# # num=0
# # num=input('请输入一个整数: ')
# # print(f'你输入的整数是 {num}')
#
# # num = 10
# # print(f'num = {num}')
#
# # a=10
# # print(a)
# # b=True
# # print(b)